﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;

namespace devtm.Editor.Configuration
{
    public static class UCConfigEditCommands
    {

        #region Fields
        private static readonly Type ThisType = typeof(UCConfigEditCommands);
        #endregion

        #region Commands

        private static readonly RoutedUICommand _addSection = new RoutedUICommand("Add section", "Addsection", ThisType);
        private static readonly RoutedUICommand _delSection = new RoutedUICommand("Remove section", "Delsection", ThisType);

        private static readonly RoutedUICommand _addItem = new RoutedUICommand("add Item", "AddItem", ThisType);
        private static readonly RoutedUICommand _delItem = new RoutedUICommand("Remove Item", "DelItem", ThisType);
        private static readonly RoutedUICommand _editItem = new RoutedUICommand("Edit Item", "EditItem", ThisType);

        private static readonly RoutedUICommand _merge = new RoutedUICommand("Merge", "merge", ThisType);
        private static readonly RoutedUICommand _check = new RoutedUICommand("Check", "check", ThisType);
        private static readonly RoutedUICommand _clearOutput = new RoutedUICommand("Clear", "clearOutput", ThisType);

        
        /// <summary>
        /// Represents a command for save
        /// </summary>
        public static RoutedUICommand AddSection { get { return _addSection; } }
        public static RoutedUICommand DelSection { get { return _delSection; } }

        public static RoutedUICommand AddItem { get { return _addItem; } }
        public static RoutedUICommand DelItem { get { return _delItem; } }
        public static RoutedUICommand EditItem { get { return _editItem; } }

        public static RoutedUICommand Merge { get { return _merge; } }
        public static RoutedUICommand Check { get { return _clearOutput; } }
        public static RoutedUICommand ClearOutput { get { return _clearOutput; } }

        
        #endregion

    }
}
